package com.dfy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dfy.entity.UserFavorite;
import com.dfy.dto.SpotDTO;
import java.util.List;

public interface UserFavoriteService extends IService<UserFavorite> {
    List<SpotDTO> getFavorites(Long userId);
    boolean isFavorite(Long userId, Long spotId);
    void addFavorite(Long userId, Long spotId);
    void removeFavorite(Long userId, Long spotId);
} 